package com.o2opuzi.lib.util;


import java.util.LinkedHashMap;
import java.util.Map;


public final class LangUtils {
	
	public static Map<String, Object> map(Object...values){
		int size = values.length/2;
        Map<String,Object> answer = new LinkedHashMap<String,Object>(size);
        int i = 0;
        while (i < values.length - 1) {
        	answer.put(String.valueOf(values[i++]), values[i++]);
        }
        return answer;
	}
}
